<?php

require_once("config.php");

$q = "select details from med_display_content where code='courseprog'";

$r = myQuery($q);


$text = '<?php include ("courses.php"); ?>';


$r[0][0] .= $text;
//ob_start();
eval ('?>' . $r[0][0]);
//$text = ob_get_clean();
// Do whatever else you want with $text before outputting it
//echo $text;




?>